const path = require('path')
const express = require('express')
let app=express()
app.listen(3000,()=>{console.log('3000ok')})


app.get("/index",(req,res)=>{

    // 绝对路径
    let filepath=path.join(__dirname,"./post请求.html")

    res.sendFile(filepath)
})

